﻿<script type="text/javascript" src="https://www.google.com/jsapi"></script>

@{
    ViewBag.Title = "Dados Estatísticos";
}

@{
    int idP = 0;
    
    if (!String.IsNullOrEmpty(ViewBag.IdParam))
    {
        idP = ViewBag.IdParam;
    }

}

<h4><i class="fa fa-pie-chart" style="margin-top: 3px;"></i> @ViewBag.Title</h4>

<div class="input-prepend">
    <span class="add-on"><b>CRITÉRIO DE SELEÇÃO</b>&nbsp;</span>
    <div class="input-append">
        @Html.DropDownList("GroupField", null, null, new { @classe="form-control", @style = "width: 158px !important;" })
    </div>
</div>

<div class="input-prepend" style="margin-left: 6px !important;">
    <span class="add-on"><b>MODO DE VISUALIZAÇÃO</b>&nbsp;</span>
    <div class="input-append">
        <a id="btnListMode" class="btn btn-default disabled" href="#" onclick="ViewListMode()"><i class="icon-list"></i> Lista</a>
        <a id="btnChartMode" class="btn btn-default disabled" href="#"  onclick="ViewChartMode()"><i class="fa fa-bar-chart"></i> Gráfico</a>
    </div>
</div>

<div class="input-prepend" style="margin-left: 6px !important;">
    <span class="add-on"><b>FILTROS APLICADOS</b>&nbsp;</span>
    <div class="input-append">
        @Html.DropDownList("FilterList", null, null, new { @classe="form-control", @style = "width: 200px !important;  color:dimgrey !important; background-color:#EFEEEF !important;" })

        <a id="btnClearFilters" class="btn btn-default disabled" href="#"><i class="icon-trash"></i> Limpar todos os Filtros</a>
    </div>
</div>


<div>
</div>


<br/>

<div class="row-fluid">
    <div id="panelLeft"class="span3" style="padding-top: 0px !important;">
        @*<h5>Filtrar por:</h5>*@
        @Html.Partial("_FilterPanel") 
    </div>

    <div id="feedbackMsg"></div>            
    
    <div id="panelData" class="span9" style="position: relative;">
        <div id="resultData">
            @Html.Partial("_DefaultData")       
        </div>    
    </div>
</div>




@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jqueryval")
@Scripts.Render("~/bundles/datatimepicker")
@Scripts.Render("~/bundles/multiselect")
@Scripts.Render("~/bundles/culturam")


